package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LabCuringTemphuExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LabCuringTemphuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateIsNull() {
            addCriterion("temphu_date is null");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateIsNotNull() {
            addCriterion("temphu_date is not null");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateEqualTo(Date value) {
            addCriterion("temphu_date =", value, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateNotEqualTo(Date value) {
            addCriterion("temphu_date <>", value, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateGreaterThan(Date value) {
            addCriterion("temphu_date >", value, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateGreaterThanOrEqualTo(Date value) {
            addCriterion("temphu_date >=", value, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateLessThan(Date value) {
            addCriterion("temphu_date <", value, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateLessThanOrEqualTo(Date value) {
            addCriterion("temphu_date <=", value, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateIn(List<Date> values) {
            addCriterion("temphu_date in", values, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateNotIn(List<Date> values) {
            addCriterion("temphu_date not in", values, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateBetween(Date value1, Date value2) {
            addCriterion("temphu_date between", value1, value2, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andTemphu_dateNotBetween(Date value1, Date value2) {
            addCriterion("temphu_date not between", value1, value2, "temphu_date");
            return (Criteria) this;
        }

        public Criteria andM_tempIsNull() {
            addCriterion("m_temp is null");
            return (Criteria) this;
        }

        public Criteria andM_tempIsNotNull() {
            addCriterion("m_temp is not null");
            return (Criteria) this;
        }

        public Criteria andM_tempEqualTo(String value) {
            addCriterion("m_temp =", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempNotEqualTo(String value) {
            addCriterion("m_temp <>", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempGreaterThan(String value) {
            addCriterion("m_temp >", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempGreaterThanOrEqualTo(String value) {
            addCriterion("m_temp >=", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempLessThan(String value) {
            addCriterion("m_temp <", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempLessThanOrEqualTo(String value) {
            addCriterion("m_temp <=", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempLike(String value) {
            addCriterion("m_temp like", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempNotLike(String value) {
            addCriterion("m_temp not like", value, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempIn(List<String> values) {
            addCriterion("m_temp in", values, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempNotIn(List<String> values) {
            addCriterion("m_temp not in", values, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempBetween(String value1, String value2) {
            addCriterion("m_temp between", value1, value2, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_tempNotBetween(String value1, String value2) {
            addCriterion("m_temp not between", value1, value2, "m_temp");
            return (Criteria) this;
        }

        public Criteria andM_huIsNull() {
            addCriterion("m_hu is null");
            return (Criteria) this;
        }

        public Criteria andM_huIsNotNull() {
            addCriterion("m_hu is not null");
            return (Criteria) this;
        }

        public Criteria andM_huEqualTo(String value) {
            addCriterion("m_hu =", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huNotEqualTo(String value) {
            addCriterion("m_hu <>", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huGreaterThan(String value) {
            addCriterion("m_hu >", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huGreaterThanOrEqualTo(String value) {
            addCriterion("m_hu >=", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huLessThan(String value) {
            addCriterion("m_hu <", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huLessThanOrEqualTo(String value) {
            addCriterion("m_hu <=", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huLike(String value) {
            addCriterion("m_hu like", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huNotLike(String value) {
            addCriterion("m_hu not like", value, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huIn(List<String> values) {
            addCriterion("m_hu in", values, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huNotIn(List<String> values) {
            addCriterion("m_hu not in", values, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huBetween(String value1, String value2) {
            addCriterion("m_hu between", value1, value2, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_huNotBetween(String value1, String value2) {
            addCriterion("m_hu not between", value1, value2, "m_hu");
            return (Criteria) this;
        }

        public Criteria andM_operatorIsNull() {
            addCriterion("m_operator is null");
            return (Criteria) this;
        }

        public Criteria andM_operatorIsNotNull() {
            addCriterion("m_operator is not null");
            return (Criteria) this;
        }

        public Criteria andM_operatorEqualTo(String value) {
            addCriterion("m_operator =", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorNotEqualTo(String value) {
            addCriterion("m_operator <>", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorGreaterThan(String value) {
            addCriterion("m_operator >", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorGreaterThanOrEqualTo(String value) {
            addCriterion("m_operator >=", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorLessThan(String value) {
            addCriterion("m_operator <", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorLessThanOrEqualTo(String value) {
            addCriterion("m_operator <=", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorLike(String value) {
            addCriterion("m_operator like", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorNotLike(String value) {
            addCriterion("m_operator not like", value, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorIn(List<String> values) {
            addCriterion("m_operator in", values, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorNotIn(List<String> values) {
            addCriterion("m_operator not in", values, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorBetween(String value1, String value2) {
            addCriterion("m_operator between", value1, value2, "m_operator");
            return (Criteria) this;
        }

        public Criteria andM_operatorNotBetween(String value1, String value2) {
            addCriterion("m_operator not between", value1, value2, "m_operator");
            return (Criteria) this;
        }

        public Criteria andN_tempIsNull() {
            addCriterion("n_temp is null");
            return (Criteria) this;
        }

        public Criteria andN_tempIsNotNull() {
            addCriterion("n_temp is not null");
            return (Criteria) this;
        }

        public Criteria andN_tempEqualTo(String value) {
            addCriterion("n_temp =", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempNotEqualTo(String value) {
            addCriterion("n_temp <>", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempGreaterThan(String value) {
            addCriterion("n_temp >", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempGreaterThanOrEqualTo(String value) {
            addCriterion("n_temp >=", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempLessThan(String value) {
            addCriterion("n_temp <", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempLessThanOrEqualTo(String value) {
            addCriterion("n_temp <=", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempLike(String value) {
            addCriterion("n_temp like", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempNotLike(String value) {
            addCriterion("n_temp not like", value, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempIn(List<String> values) {
            addCriterion("n_temp in", values, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempNotIn(List<String> values) {
            addCriterion("n_temp not in", values, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempBetween(String value1, String value2) {
            addCriterion("n_temp between", value1, value2, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_tempNotBetween(String value1, String value2) {
            addCriterion("n_temp not between", value1, value2, "n_temp");
            return (Criteria) this;
        }

        public Criteria andN_huIsNull() {
            addCriterion("n_hu is null");
            return (Criteria) this;
        }

        public Criteria andN_huIsNotNull() {
            addCriterion("n_hu is not null");
            return (Criteria) this;
        }

        public Criteria andN_huEqualTo(String value) {
            addCriterion("n_hu =", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huNotEqualTo(String value) {
            addCriterion("n_hu <>", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huGreaterThan(String value) {
            addCriterion("n_hu >", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huGreaterThanOrEqualTo(String value) {
            addCriterion("n_hu >=", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huLessThan(String value) {
            addCriterion("n_hu <", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huLessThanOrEqualTo(String value) {
            addCriterion("n_hu <=", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huLike(String value) {
            addCriterion("n_hu like", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huNotLike(String value) {
            addCriterion("n_hu not like", value, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huIn(List<String> values) {
            addCriterion("n_hu in", values, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huNotIn(List<String> values) {
            addCriterion("n_hu not in", values, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huBetween(String value1, String value2) {
            addCriterion("n_hu between", value1, value2, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_huNotBetween(String value1, String value2) {
            addCriterion("n_hu not between", value1, value2, "n_hu");
            return (Criteria) this;
        }

        public Criteria andN_operatorIsNull() {
            addCriterion("n_operator is null");
            return (Criteria) this;
        }

        public Criteria andN_operatorIsNotNull() {
            addCriterion("n_operator is not null");
            return (Criteria) this;
        }

        public Criteria andN_operatorEqualTo(String value) {
            addCriterion("n_operator =", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorNotEqualTo(String value) {
            addCriterion("n_operator <>", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorGreaterThan(String value) {
            addCriterion("n_operator >", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorGreaterThanOrEqualTo(String value) {
            addCriterion("n_operator >=", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorLessThan(String value) {
            addCriterion("n_operator <", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorLessThanOrEqualTo(String value) {
            addCriterion("n_operator <=", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorLike(String value) {
            addCriterion("n_operator like", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorNotLike(String value) {
            addCriterion("n_operator not like", value, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorIn(List<String> values) {
            addCriterion("n_operator in", values, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorNotIn(List<String> values) {
            addCriterion("n_operator not in", values, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorBetween(String value1, String value2) {
            addCriterion("n_operator between", value1, value2, "n_operator");
            return (Criteria) this;
        }

        public Criteria andN_operatorNotBetween(String value1, String value2) {
            addCriterion("n_operator not between", value1, value2, "n_operator");
            return (Criteria) this;
        }

        public Criteria andA_tempIsNull() {
            addCriterion("a_temp is null");
            return (Criteria) this;
        }

        public Criteria andA_tempIsNotNull() {
            addCriterion("a_temp is not null");
            return (Criteria) this;
        }

        public Criteria andA_tempEqualTo(String value) {
            addCriterion("a_temp =", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempNotEqualTo(String value) {
            addCriterion("a_temp <>", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempGreaterThan(String value) {
            addCriterion("a_temp >", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempGreaterThanOrEqualTo(String value) {
            addCriterion("a_temp >=", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempLessThan(String value) {
            addCriterion("a_temp <", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempLessThanOrEqualTo(String value) {
            addCriterion("a_temp <=", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempLike(String value) {
            addCriterion("a_temp like", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempNotLike(String value) {
            addCriterion("a_temp not like", value, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempIn(List<String> values) {
            addCriterion("a_temp in", values, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempNotIn(List<String> values) {
            addCriterion("a_temp not in", values, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempBetween(String value1, String value2) {
            addCriterion("a_temp between", value1, value2, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_tempNotBetween(String value1, String value2) {
            addCriterion("a_temp not between", value1, value2, "a_temp");
            return (Criteria) this;
        }

        public Criteria andA_huIsNull() {
            addCriterion("a_hu is null");
            return (Criteria) this;
        }

        public Criteria andA_huIsNotNull() {
            addCriterion("a_hu is not null");
            return (Criteria) this;
        }

        public Criteria andA_huEqualTo(String value) {
            addCriterion("a_hu =", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huNotEqualTo(String value) {
            addCriterion("a_hu <>", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huGreaterThan(String value) {
            addCriterion("a_hu >", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huGreaterThanOrEqualTo(String value) {
            addCriterion("a_hu >=", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huLessThan(String value) {
            addCriterion("a_hu <", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huLessThanOrEqualTo(String value) {
            addCriterion("a_hu <=", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huLike(String value) {
            addCriterion("a_hu like", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huNotLike(String value) {
            addCriterion("a_hu not like", value, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huIn(List<String> values) {
            addCriterion("a_hu in", values, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huNotIn(List<String> values) {
            addCriterion("a_hu not in", values, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huBetween(String value1, String value2) {
            addCriterion("a_hu between", value1, value2, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_huNotBetween(String value1, String value2) {
            addCriterion("a_hu not between", value1, value2, "a_hu");
            return (Criteria) this;
        }

        public Criteria andA_operatorIsNull() {
            addCriterion("a_operator is null");
            return (Criteria) this;
        }

        public Criteria andA_operatorIsNotNull() {
            addCriterion("a_operator is not null");
            return (Criteria) this;
        }

        public Criteria andA_operatorEqualTo(String value) {
            addCriterion("a_operator =", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorNotEqualTo(String value) {
            addCriterion("a_operator <>", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorGreaterThan(String value) {
            addCriterion("a_operator >", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorGreaterThanOrEqualTo(String value) {
            addCriterion("a_operator >=", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorLessThan(String value) {
            addCriterion("a_operator <", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorLessThanOrEqualTo(String value) {
            addCriterion("a_operator <=", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorLike(String value) {
            addCriterion("a_operator like", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorNotLike(String value) {
            addCriterion("a_operator not like", value, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorIn(List<String> values) {
            addCriterion("a_operator in", values, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorNotIn(List<String> values) {
            addCriterion("a_operator not in", values, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorBetween(String value1, String value2) {
            addCriterion("a_operator between", value1, value2, "a_operator");
            return (Criteria) this;
        }

        public Criteria andA_operatorNotBetween(String value1, String value2) {
            addCriterion("a_operator not between", value1, value2, "a_operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Long value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Long value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Long value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Long value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Long value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Long> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Long> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Long value1, Long value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Long value1, Long value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("addtime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("addtime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("addtime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("addtime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("addtime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("addtime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("addtime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNull() {
            addCriterion("updater is null");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNotNull() {
            addCriterion("updater is not null");
            return (Criteria) this;
        }

        public Criteria andUpdaterEqualTo(Long value) {
            addCriterion("updater =", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotEqualTo(Long value) {
            addCriterion("updater <>", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThan(Long value) {
            addCriterion("updater >", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThanOrEqualTo(Long value) {
            addCriterion("updater >=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThan(Long value) {
            addCriterion("updater <", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThanOrEqualTo(Long value) {
            addCriterion("updater <=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterIn(List<Long> values) {
            addCriterion("updater in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotIn(List<Long> values) {
            addCriterion("updater not in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterBetween(Long value1, Long value2) {
            addCriterion("updater between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotBetween(Long value1, Long value2) {
            addCriterion("updater not between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}